package app.Disthanitian.thaistyle.EmerMez;

import java.util.ArrayList;

import android.app.ActionBar;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class About extends Activity{
	
	  ArrayList values;
      ArrayAdapter adapter;
      ListView listView;
  	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about);
		listView = (ListView) findViewById(R.id.About);
		
		actionBar();
		
		values = new ArrayList();

		//values.add();
		String [] data = {"EmerMez @2013","King Mongkut's University of Technology Thonburi","Version 1.0","Contact Us:www.facebook.com/EmerMez"};

		adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1,android.R.id.text1, data);

		// Assign adapter to ListView
		listView.setAdapter(adapter);

	}
  	
 	public void actionBar(){
		
		ActionBar actionBar = getActionBar();
		actionBar.setDisplayHomeAsUpEnabled(true);
		actionBar.setTitle("About");
	
		
	}

}
